﻿<!-- "script/apps/Aries/Creator/Game/Areas/SystemSettingsPage.html" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>system settings, by LiXizhi, 2009/10/18</title>
</head>
<body>
<pe:mcml>
<script type="text/npl" refresh="false" src="SystemSettingsPage.lua"><![CDATA[
SystemSettingsPage = commonlib.gettable("MyCompany.Aries.Creator.Game.Desktop.SystemSettingsPage");
GameLogic = commonlib.gettable("MyCompany.Aries.Game.GameLogic");
WorldCommon = commonlib.gettable("MyCompany.Aries.Creator.WorldCommon")
SystemSettingsPage.OnInit();

function TotalDragTime(value)
    ParaCamera.GetAttributeObject():SetField("TotalDragTime", value)
end
function SmoothFramesNum(value)
    ParaCamera.GetAttributeObject():SetField("SmoothFramesNum", math.floor(value))
end

function GetCategoryDSIndex()
    return SystemSettingsPage.category_ds_index;
end

function GetTabviewButtons()
    return SystemSettingsPage.category_ds;  
end

function OnChangeTabview(index)
    SystemSettingsPage.category_ds_index = tonumber(index);
    Page:Refresh(0);
    if (SystemSettingsPage.category_ds_index == 2) then
        Page:SetValue("AudioDevice", SystemSettingsPage.currentAudioDevice);
    end
end

function GetDS(index)
    local ds_index = SystemSettingsPage.category_ds_index;
    local ds = nil;
    if(ds_index == 1) then
        ds = SystemSettingsPage.category_show;
    elseif(ds_index == 2) then
        ds = SystemSettingsPage.category_game;
    elseif(ds_index == 3) then
        ds = SystemSettingsPage.category_operation;
    end
    if(index) then
        return ds[index];
    else
        return #ds;
    end
end

function GetDsIndex()
    local index = SystemSettingsPage.category_ds_index;
    if(index) then
        return index;
    end
end

function ChangeFullScreenMode()
    SystemSettingsPage.OnClickEnableFullScreenMode();
end

function GetMouseSetting(name)
    return SystemSettingsPage.GetMouseSetting(name);
end

function GetShaderDS()
    return SystemSettingsPage.shader_ds;
end

function OnRenderDistChanged(value)
    GameLogic.options:SetRenderDist(value);
    WorldCommon.GetWorldInfo().renderdist = tostring(value);
end

function OnSuperRenderDistChanged(value)
    GameLogic.options:SetSuperRenderDist(value);
    if(value and value > GameLogic.options:GetRenderDist() and value>64) then
        GameLogic.options:SetFogEnd(value - 64);
    end
end

function OnToggleShader(name, value)
    local res = GameLogic.RunCommand("/shader "..value);
    if(res==false) then
        if(value ~= "1") then 
            Page:SetValue("comboShader", "1");
            _guihelper.MessageBox(L"您的显卡不支持这个效果, 请升级您的显卡");
        end
    elseif(res=="disabled") then
        _guihelper.MessageBox(L"/shader命令被禁止, 请在设置中解禁");
    else
        -- WorldCommon.GetWorldInfo().rendermethod = value;
    end
end

]]></script>
<!-- Texture/Aries/Creator/keepwork/Window/dakuang2_32bits.png#0 0 64 69:26 44 24 22  Texture/Aries/Creator/keepwork/setting/btn2_32X32_32bits.png  font-family:Consolas"-->
    <div style="width:350px;height:530px;background: url(Texture/Aries/Creator/keepwork/Window/dakuang2_32bits.png#0 0 64 69:26 44 24 22);">
        <div style="margin-left:6px;margin-top:0px;height:35px;">
            <pe:repeat DataSource="<%=GetTabviewButtons()%>" >
                <pe:repeatitem style="float:left;min-width:76px;">
                    <pe:if condition='<%=GetCategoryDSIndex() == Eval("index") %>' >
                        <input type="button" spacing="1" value='<%=Eval("text")%>' name='<%=Eval("index")%>' onclick="OnChangeTabview" style="font-family:Tahoma;font-weight:bold;margin-right:8px;margin-top:7px;color:#f4a725;font-size:14px;min-width:80px;height:32px;background:url(Texture/Aries/Creator/keepwork/setting/btn1_32X34_32bits.png#0 0 32 34:14 14 14 14)" />
                    </pe:if>
                    <pe:if condition='<%=GetCategoryDSIndex() ~= Eval("index") %>' >
                        <input type="button" spacing="1" value='<%=Eval("text")%>' name='<%=Eval("index")%>' onclick="OnChangeTabview" style="font-family:Tahoma;font-weight:bold;margin-right:8px;margin-top:7px;color:#ffffff;font-size:14px;min-width:76px;height:32px;background:url(Texture/Aries/Creator/keepwork/setting/btn2_32X32_32bits.png#0 0 32 32:14 14 14 14)" />
                    </pe:if>
                </pe:repeatitem>
            </pe:repeat>
        </div>
        <!-- content bg -->
        <div style="margin-left:8px;margin-top:4px;width:330px;height:440px;background: url(Texture/Aries/Creator/keepwork/setting/bjb_64X64_32bits.png#0 0 64 64:30 30 30 30);">
            <pe:treeview style="margin-top:6px;color:#ffffff;background:url(Texture/Aries/Creator/Theme/GameCommonIcon_32bits.png#0 0 4 4:2 2 2 2);" VerticalScrollBarStep="30" VerticalScrollBarPageSize="200" >
                <div style="color:#ffffff;">
                    <pe:if condition='<%=GetCategoryDSIndex() == 1 %>' >
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"分辨率" %></div>
                            <div style="float:left;margin-left:14px;font-size:11px;">
                                <select name = "ScreenResolution" AllowUserEdit="false" dropWidth="30.6" dropHeight="28.8" dropBg="Texture/Aries/Creator/keepwork/setting/shuru2_34X32_32bits.png#0 0 34 32" contentBg="Texture/Aries/Creator/keepwork/setting/shuru1_32X28_32bits.png#0 0 32 28:13 13 13 13" style="width: 184px; height:28px">
                                    <option value="3840 × 2160">3840X2160 (4K)</option>
                                    <option value="2560 × 1440">2560X1440 (2K)</option>
                                    <option value="1920 × 1080">1920X1080 (1080p)</option>
                                    <option value="1280 × 720" selected="true">1280X720 (720p)</option>
                                    <option value="1600 × 1200">1600X1200 (UXGA)</option>
                                    <option value="1024 × 768">1024X768 (XGA)</option>
                                </select>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" tooltip='<%=L"过大会导致运行缓慢, 可以考虑使用超级远景"%>'><%=L"可视距离"%></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <pe:sliderbar name="renderDist" min="30" max="200" value="96" button_bg="Texture/Aries/Creator/keepwork/setting/xiala2_12X20_32bits.png#0 0 12 20"  background="Texture/Aries/Creator/keepwork/setting/xiala1_16X8_32bits.png#0 0 16 8:6 2 6 2" style="width:110px;height:22px;" onchange="OnRenderDistChanged()" ></pe:sliderbar>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" tooltip='<%=L"摄影机不动时,会持续渲染几公里内的场景,并不消耗显存"%>'><%=L"超级远景"%></div>
                            <div style="float:left;margin-top:-1px;margin-left:20px;">
                                <pe:sliderbar name="superRenderDist" min="0" max="5000" value="96" button_bg="Texture/Aries/Creator/keepwork/setting/xiala2_12X20_32bits.png#0 0 12 20"  background="Texture/Aries/Creator/keepwork/setting/xiala1_16X8_32bits.png#0 0 16 8:6 2 6 2" style="width:110px;height:22px;" onchange="OnSuperRenderDistChanged()"></pe:sliderbar>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"真实光影"%></div>
                            <div style="float:left;margin-top:0px;margin-left:20px;">
                                <select name="comboShader" dropWidth="30.6" dropHeight="28.8" dropBg="Texture/Aries/Creator/keepwork/setting/shuru2_34X32_32bits.png#0 0 34 32" contentBg="Texture/Aries/Creator/keepwork/setting/shuru1_32X28_32bits.png#0 0 32 28:13 13 13 13" style="margin-top:0px; width: 110px; height:28px" onselect="OnToggleShader" AllowUserEdit="false" DataSource="<%=GetShaderDS()%>"></select>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"水面反射" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_WaterReflection' value='' type="button" onclick='SystemSettingsPage.OnClickEnableWaterReflection' style="width:108px;height:29px;font-size:14px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"场景投影" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_Shadow' value='' type="button" onclick='SystemSettingsPage.OnClickEnableShadow' style="width:108px;height:29px;font-size:14px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;"><%=L"UI放缩" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <div style="float:left;">
                                    <pe:sliderbar name="UI_Scaling" min="0.6" max="2" min_step="0.05" value="<%=GameLogic.options:GetUIScaling() %>" button_bg="Texture/Aries/Creator/keepwork/setting/xiala2_12X20_32bits.png#0 0 12 20"  background="Texture/Aries/Creator/keepwork/setting/xiala1_16X8_32bits.png#0 0 16 8:6 2 6 2" style="height:22px;width:100px;" onchange="SystemSettingsPage.OnChangeUIScaling" />
                                </div>
                                <input type="button" style="margin-left:5px;width:39px; height: 18px; background: url(Texture/Aries/Creator/keepwork/setting/chongzhi_39X18_32bits.png#0 0 39 18);" name="orignalScaling" value='' onclick='SystemSettingsPage.OnClickResetUIScaling' />
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"视角摇晃" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_ViewBobbing' value='' type="button" onclick='SystemSettingsPage.OnToggleViewBobbing' style="width:108px;height:29px;font-size:14px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"显示角色" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_ShowPlayer' value='' type="button" onclick='SystemSettingsPage.OnClickEnableShowMainPlayer' style="width:108px;height:29px;font-size:14px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"立体输出" %></div>
                            <div style="float:left;margin-left:20px;">
                                <select name="stereomode" AllowUserEdit="false" dropWidth="30.6" dropHeight="28.8" dropBg="Texture/Aries/Creator/keepwork/setting/shuru2_34X32_32bits.png#0 0 34 32" contentBg="Texture/Aries/Creator/keepwork/setting/shuru1_32X28_32bits.png#0 0 32 28:13 13 13 13" style="width: 103px; height:28px" onselect="SystemSettingsPage.OnChangeStereoMode">
                                    <option value="0" selected="true">Off</option>
                                    <option value="2">Left/Right</option>
                                    <option value="5">Red/Blue</option>
                                </select>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"左右眼间距" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <pe:sliderbar name="stereo_eye_dist" min="0.0" max="0.2" min_step="0.01" value="0.1" button_bg="Texture/Aries/Creator/keepwork/setting/xiala2_12X20_32bits.png#0 0 12 20"  background="Texture/Aries/Creator/keepwork/setting/xiala1_16X8_32bits.png#0 0 16 8:6 2 6 2" style="height:22px;width:140px" onchange="SystemSettingsPage.OnChangeStereoEyeDist" />
                            </div>
                        </div>                   
                    </pe:if>
                    <pe:if condition='<%=GetCategoryDSIndex() == 2 %>' >                    
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"音乐" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:-20px;">
                                <input name="btn_EnableSound" value="" type="button" onclick="SystemSettingsPage.OnClickEnableSound" style="width:108px;height:29px;font-size:12px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:12px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"音量" %></div>
                            <div style="float:left;margin-top:4px;margin-left:-20px;">
                                <div style="width: 16px; height: 12px; background: url(Texture/Aries/Creator/keepwork/setting/icon1_16X12_32bits.png#0 0 16 12);"></div>
                                <pe:sliderbar name="system_sound_volume" min="0.0" max="3.0" min_step="0.03" value='<%=SystemSettingsPage.setting_ds["sound_volume"]%>' button_bg="Texture/Aries/Creator/keepwork/setting/xiala2_12X20_32bits.png#0 0 12 20"  background="Texture/Aries/Creator/keepwork/setting/xiala1_16X8_32bits.png#0 0 16 8:6 2 6 2" style="margin-top: -18px; margin-left: 24px; height:22px;width:140px" onchange="SystemSettingsPage.OnChangeSoundVolume" />
                            </div>
                        </div>
                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;"><%=L"设备" %></div>
                            <div style="float:left;margin-top:-1px;margin-left:-20px;">
                                <select name="AudioDevice" style="width:190px;height:23px" DataSource="<%=SystemSettingsPage.GetAudioDevices()%>" dropWidth="30.6" dropHeight="28.8" dropBg="Texture/Aries/Creator/keepwork/setting/shuru2_34X32_32bits.png#0 0 34 32" contentBg="Texture/Aries/Creator/keepwork/setting/shuru1_32X28_32bits.png#0 0 32 28:13 13 13 13" onselect="SystemSettingsPage.OnSelectAudioDevice">
                                </select>
                            </div>
                            <div style="float:left;margin-top:0px;margin-left:6px;">
                                <input name="btn_ResetDevice" type="button" onclick="SystemSettingsPage.OnClickResetAudioDevice" style="width:39px; height: 18px; background: url(Texture/Aries/Creator/keepwork/setting/chongzhi_39X18_32bits.png#0 0 39 18);"/>
                            </div>
                    </div>
                    </pe:if>
                    <pe:if condition='<%=GetCategoryDSIndex() == 3 %>' >
                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"反转鼠标" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:6px;">
                                <input name='btn_MouseInverse' value='' type="button" onclick='SystemSettingsPage.OnClickEnableMouseInverse' style="width:108px;height:29px;font-size:12px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"消除方块" %></div>
                            <div style="float:left;margin-top:-10px;margin-left:-40px;width:30px;height:42px;">
                                <pe:if condition='<%=GetMouseSetting("DeleteBlock") == "left" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao3_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                                <pe:if condition='<%=GetMouseSetting("DeleteBlock") == "right" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao2_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                                <pe:if condition='<%=GetMouseSetting("DeleteBlock") == "middle" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao1_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:-24px; margin-left: 142px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"放置方块" %></div>
                            <div style="float:left;margin-top:-10px;margin-left:-40px;width:100px;height:20px;" >
                                <pe:if condition='<%=GetMouseSetting("CreateBlock") == "left" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao3_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                                <pe:if condition='<%=GetMouseSetting("CreateBlock") == "right" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao2_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                                <pe:if condition='<%=GetMouseSetting("CreateBlock") == "middle" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao1_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                            </div>
                        </div>
                        <input type="checkbox" name="ChangeMouseLeftRight" style="margin-left:108px;margin-top:14px;" onclick="SystemSettingsPage.OnClickEnableMouseChange"/>
                        <div style="float:left;margin-left:3px;margin-top: 12px;" for="ChangeMouseLeftRight"><%=L"鼠标左右互换"%></div>

                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"选择方块" %></div>
                            <div style="float:left;margin-top:-10px;margin-left:-40px;width:100px;height:20px;" >
                                <pe:if condition='<%=GetMouseSetting("ChooseBlock") == "left" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao3_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                                <pe:if condition='<%=GetMouseSetting("ChooseBlock") == "right" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao2_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                                <pe:if condition='<%=GetMouseSetting("ChooseBlock") == "middle" %>' >
                                    <div style="margin-left:42px;margin-top:3px;width:28px;height:40px;background:url(Texture/Aries/Creator/keepwork/setting/shubiao1_28X41_32bits.png#0 0 28 41)"/>
                                </pe:if>
                            </div>
                        </div>

                        <div style="height:25px;margin-top:18px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"向前" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/1_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:-24px;">
                            <div style="float:left;margin-left:150px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"向左" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/2_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:18px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"后退" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/12_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:-24px;">
                            <div style="float:left;margin-left:150px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"向右" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/3_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:18px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"跳跃" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/4_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:-24px;">
                            <div style="float:left;margin-left:150px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"潜行" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/5_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:18px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"飞翔" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/6_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:-24px;">
                            <div style="float:left;margin-left:150px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"帮助" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:-20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/7_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:18px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"撤销上步操作" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/8_62X32_32bits.png#0 0 62 32);" ></div>
                            <div style="float:left;margin-top:8px;margin-left:10px;width:7px;height:5px;background: url(Texture/Aries/Creator/keepwork/setting/11_7X5_32bits.png#0 0 7 5);" ></div>
                            <div style="float:left;margin-top:-5px;margin-left:10px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/9_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                        <div style="height:25px;margin-top:18px;">
                            <div style="float:left;margin-left:5px;width:90px;height:20px;text-align:left;font-size:14px;" ><%=L"返回上步操作" %></div>
                            <div style="float:left;margin-top:-5px;margin-left:20px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/8_62X32_32bits.png#0 0 62 32);" ></div>
                            <div style="float:left;margin-top:8px;margin-left:10px;width:7px;height:5px;background: url(Texture/Aries/Creator/keepwork/setting/11_7X5_32bits.png#0 0 7 5);" ></div>
                            <div style="float:left;margin-top:-5px;margin-left:10px;width:62px;height:32px;background: url(Texture/Aries/Creator/keepwork/setting/10_62X32_32bits.png#0 0 62 32);" ></div>
                        </div>
                    </pe:if>
                    <pe:if condition='<%=GetCategoryDSIndex() == 4 %>' >
                        <div>
                            <input type="button" name="clearCache" value='<%=L"清空缓存" %>' style="font-weight: bold; font-size: 14px; width: 84px; height: 32px; background: url(Texture/Aries/Creator/keepwork/setting/btn_32X28_32bits.png#0 0 32 28:14 13 14 13);" onclick="SystemSettingsPage.OnClearCache()" />
                            <span style="margin-top: 3px; margin-left:5px;font-size: 14px; color: #ffffff;">temp/webcache/*</span>
                        </div>
                        <div style="margin-top:12px;">
                            <input type="button" name="clearMemory" value='<%=L"整理内存" %>' style="font-weight: bold;font-size: 14px; width: 84px; height: 32px; background: url(Texture/Aries/Creator/keepwork/setting/btn_32X28_32bits.png#0 0 32 28:14 13 14 13);"  onclick="SystemSettingsPage.OnClearMemory()" />
                        </div>
                        <div style="margin-top:12px;">
                            <input type="button" name="OpenBackupFolder" value='<%=L"打开世界备份目录" %>' style="font-weight: bold; font-size: 14px; width: 144px; height: 32px; background: url(Texture/Aries/Creator/keepwork/setting/btn_32X28_32bits.png#0 0 32 28:14 13 14 13);" onclick="SystemSettingsPage.OnOpenBackupFolder()" />
                        </div>
                        <div style="margin-top:12px;">
                            <input type="button" name="SetSchoolMode" value='<%=L"学校模式360天" %>' style="font-weight: bold; font-size: 14px; width: 144px; height: 32px; background: url(Texture/Aries/Creator/keepwork/setting/btn_32X28_32bits.png#0 0 32 28:14 13 14 13);" onclick="SystemSettingsPage.OnSetSchoolMode()" />
                        </div>
                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:140px;height:20px;text-align:left;font-size:14px;" ><%=L"保持电影方块窗口比例" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_MovieAspectRatio' value='' type="button" onclick='SystemSettingsPage.OnClickMaintainMovieAspectRatio' style="width:108px;height:29px;font-size:12px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:140px;height:20px;text-align:left;font-size:14px;" ><%=L"弹幕" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_BulletScreen' value='' type="button" onclick='SystemSettingsPage.OnClickBulletScreen' style="width:108px;height:29px;font-size:12px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:140px;height:20px;text-align:left;font-size:14px;" ><%=L"自动调整电影帧率" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_AutoFPS' value='' type="button" onclick='SystemSettingsPage.OnClickAutoMovieFPS' style="width:108px;height:29px;font-size:12px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                        <div style="height:25px;margin-top:14px;">
                            <div style="float:left;margin-left:5px;width:140px;height:20px;text-align:left;font-size:14px;" ><%=L"禁止光影命令" %></div>
                            <div style="float:left;margin-top:-2px;margin-left:20px;">
                                <input name='btn_DisableShaderCmd' value='' type="button" onclick='SystemSettingsPage.OnClickDisableShaderCommand' style="width:108px;height:29px;font-size:12px;" class="mc_light_grey_button_with_fillet"/>
                            </div>
                        </div>
                    </pe:if>
                </div>
            </pe:treeview>
        </div>
        <div style="margin-top:5px;" >
            <input type="button" name="OK" value='<%=L"确定" %>' style="margin-left:40px;height:40px;width:110px;color:#000000;background: url(Texture/Aries/Creator/keepwork/Window/button/btn_huangse_32bits.png#0 0 38 64:16 16 16 16);" onclick="SystemSettingsPage.OnOK()"/>
            <input type="button" name="Cancel" value='<%=L"关闭" %>' style="margin-left:50px;height:40px;width:110px;color:#000000;background: url(Texture/Aries/Creator/keepwork/Window/button/btn_huise_32bits.png#0 0 38 64:16 16 16 16);" onclick="SystemSettingsPage.OnCancel()"/>
        </div>
    </div>
</pe:mcml> 
</body>
</html>